class Menu < ActiveRecord::Base
  
  has_many :page_menu_options, :dependent => :destroy
  validates_uniqueness_of(:name, :case_sensitive=>false)
  validates_presence_of(:name)
  validates_length_of(:name,:minimum=>4)
  validates_length_of(:name,:maximum=>15)
  attr_accessible :name
  
  
  
end
